<?php

/**
 * @Author: chenjianghui
 * @Date:   2018-10-08 15:08:01
 * @Last Modified by:   chenjianghui
 * @Last Modified time: 2018-10-08 16:39:37
 */
namespace app\console;

use app\index\controller\Timer;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class MessageSendTask extends Command
{
    /**
     * 站内信
     * @Author   chenjianghui
     * @DateTime 2018-10-08T15:08:14+0800
     * @return   [type]                   [description]
     */
    protected function configure()
    {
        $this->setName('messageSendTask')->setDescription('站内信消息推送');
    }

    protected function execute(Input $input, Output $output)
    {
        //echo '开始执行站内信推送.</br>';
        Timer::getTimeIsPraise();
    }
}
